/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.webhomesites.Locacao.contracts;

import br.com.webhomesites.locacao.model.ItensLocacaoTableModel;
import br.com.webhomesites.locacao.model.LocacaoTableModel;
import br.com.webhomesites.padrao.model.ClienteModel;
import java.awt.event.ActionListener;
import java.awt.event.KeyListener;
import java.awt.event.MouseListener;
import java.util.List;

/**
 *
 * @author Webhome
 */
public interface IDevolucaoView {
    
    //Painel de Locação*********************************************************
    public void setCodigoDevolucao(int codigoDevolucao);  
    public int getCodigoDevolucao();
    
    public void setCodigoLocacao(long codigoLocacao);  
    public long getCodigoLocacao();
    
    public void setCodigoCliente(long codigoCliente);  
    public long getCodigoCliente();
      
    public void setNomeCliente(String nomeCliente);  
    public String getNomeCliente();
    
    public void setListaCliente(List<ClienteModel> listaCliente);
    
    public void setDataLocacao(String dataLocacao);
    public String getDataLocacao();
    
    public void setDataDevolucao(String dataDevolucao);
    public String getDataDevolucao();
    
    public void setDataPrevDevolucao(String dataPrevDevolucao);
    public String getDataPrevDevolucao();
    
    public void setListaTabelaPreco(List<String> tabelaPreco);
    
    public void setTabelaPreco(String tabelaPreco);
    public String getTabelaPreco();
    
    public void setDiasLocacao(int diasDevolucao);
    public int getDiasLocacao();
    
    public void setValorTotalLocacao(double valorTotalLocacao);
    public double getValorTotalLocacao();
    
    public void setStatusLocacao(String statusLocacao);
    public String getStatusLocacao();
    
    public void setDataRenovacao(String dataRenovacao);
    public String getDataRenovacao();
    //Final Painel Locação******************************************************
    public void setCodigoLocacaoBusca(int codigoLocacaoBusca);
    public String getCodigoLocacaoBusca();
    
    public void setDataInicialBusca(String dataInicialBusca);
    public String getDataInicialBusca();
    
    public void setDataFinalBusca(String dataInicialBusca);
    public String getDataFinalBusca();
    
    public void setNomeClienteBusca(String nomeClienteBusca);
    public String getNomeClienteBusca();
    
    public void setListaClienteBusca(List<ClienteModel> listaClienteBusca);
    
    //Painel Itens Locação******************************************************
 
    //Final Painel Item Locação*************************************************
       
    public void packAndShow();  
    public void clearFields(); 
    
    //Responsavel pela locação
    public void enableTxtCodigoLocacao(boolean arg);
    public void enableTxtCodigoCliente(boolean arg);
    public void enableComboNomeCliente(boolean arg);
    public void enableTxtDataDevolucao(boolean arg);
    public void enableTxtDataPrevDevolucao(boolean arg);
    public void enableComboTabelaPreco(boolean arg);
    public void enableTxtDiasLocacao(boolean arg);
    public void enableTxtDataLocacao(boolean arg);
         
    public void enableBtnCancelarBusca(boolean arg);
    public void enableBtnBuscar(boolean arg);
    public void enableBtnDevTotComPag(boolean arg);
    public void enableBtnDevTotComPagERenov(boolean arg);
    public void enableBtnDevTotComPagDepois(boolean arg);
    public void enableBtnDevParcSemPag(boolean arg);
    public void enableBtnDevParcComPag(boolean arg);
        
    public int linhaSelecionadaTableItens();
    public int linhaSelecionadaTableLocacao();
        
    public void removeAllitensComboCliente();
    public void clearFieldsPainelBuscarLocacao();
    public void clearFieldsPainelDevolucao();
  
    public void setItensLocacaoTableModel(ItensLocacaoTableModel itensLocacaoTableModel);  
    public ItensLocacaoTableModel getitensLocacaoTableModel(); 
    
    public void setLocacaoTableModel(LocacaoTableModel locacaoTableModel);  
    public LocacaoTableModel getLocacaoTableModel(); 
      
    public void refreshTableLocacao();
    public void refreshTableItensLocacao();
    
    public void setDevTotComPagActionListener(ActionListener listener);
    public void setDevTotComPagERenovActionListener(ActionListener listener);
    public void setDevTotComPagDepoisActionListener(ActionListener listener);
    public void setDevParcComPagActionListener(ActionListener listener);  
    public void setDevParcSemPagActionListener(ActionListener listener);
    
    public void setTableLocacaoMouseListener(MouseListener listener);
    public void setTableItensLocacaoMouseListener(MouseListener listener);
      
    public void setBuscarLocacaoActionListener(ActionListener listener);  
    public void setCancelarBuscaActionListener(ActionListener listener);  
        
    public void setMascaraListener(KeyListener listener);
        
    public void removeAllitensComboNomeCliente();
    public void removeAllitensComboTabelaPreco();
    
}
